package cn.sfrog.system.mapper;

import cn.sfrog.system.domain.SysSensitiveWord;
import cn.sfrog.system.domain.vo.SysSensitiveWordQueryVO;
import cn.sfrog.system.domain.vo.SysSensitiveWordVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 敏感词Mapper接口
 */
public interface SysSensitiveWordMapper extends BaseMapper<SysSensitiveWord> {
    /**
     * 查询敏感词
     *
     * @param id 敏感词主键
     * @return 敏感词
     */
    SysSensitiveWordVO selectSysSensitiveWordById(Long id);

    /**
     * 查询敏感词列表
     *
     * @param query 敏感词
     * @return 敏感词集合
     */
    List<SysSensitiveWordVO> selectSysSensitiveWordList(SysSensitiveWordQueryVO query);



}
